export default class Utils {
  async getCanvasNode(id: string): Promise<WechatMiniprogram.Canvas> {
    return new Promise(resolve => wx.createSelectorQuery().select(`#${id}`).node(({node}: any) => { resolve(node)}).exec())
  },
}